package com.yxe.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author yangl
 * @since 2022-12-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tb_contract")
@ApiModel(value="Contract对象", description="")
@AllArgsConstructor
@NoArgsConstructor
public class Contract implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "contract_id", type = IdType.AUTO)
    private Integer contractId;

    private String name;

    private String identificationCard;

    private String contractImageUp;

    private String contractImageDown;

    private Integer userId;

}
